Add method validator_type
Merge pull request #6 from Singrid/master

Add method validator_type