Added stacks section to doc/d4-reference.pod.