Added presence fields validation for model classes.