Various minor fixes to doc/d4-reference.pod.