* Changed function to lookup model classes from names