Improve documentation generation.