doc: Document proc_new(); move documentation around.