Updated API documentation.