The structure of an API class