Added miscellaneous subroutine documentation to doc/d4-reference.pod.