Fixed an error in the API documentation.