Changes to generated docs and their templates.

Please review, complain, &c
+1