Add some API documentation.