Created validations for numericality and presence.