Update the API documentaion Fixes #502

Updates the API documentation with the latest changes.