Add some API documentation