Adds model classes to the API