Improve documentation for most functions that return an object
Merge pull request #49 from allanjude/inline_docs

Improve documentation for most functions that return an object