corrected factory methods for some model classes