Improved API documentation.