Sketch of the API.