Adding the proper the validations.