API documentation and more code