Adapts to the API