Add documentation to the API