Updated documentation.

Updated the documentation to reflect the new and changed functionality.