add unicity validator on prototype