fixed typos in models to allow usage of model classes in API