Fixes to documentation generator
Customizations for BCH