Fixes to generate documentation