Updated documentation.

Updated the documentation with new API information.