Copying in original History
Rename docs return value to “@return”
Fix errors in documentation generation
Fix comments and minor code changes for documentation generation