Added auto register model classes.