Removed warnings for optional fields in base entity validation code