fixes for apidoc generation