Added validation on models package