And document the API.