fixes for API documentation
Merge pull request #1021 from drewfish/docs-api

fixes for API documentation