Fixed documentation generation if no header is provided