Updated the API documentation.