Added multiple validation functions ability.