Some AutoDoc fixes.

Was that intentional? Please note that beginning a file with a section
without a chapter given prior is not allowed.