improved API documentation.