Fixes topdoc template and rebuilds.