Improve API documentation.