Add another layer of abstraction for the API class