Include main namespace function and edits to documentation.