Improves Validator to make it extendable for adding new validations