Add method validator_type