Modeling the API