Made base model class strong typed