Fixed creation of model classes for new configs