Document the API