Usage of 'unique' validator instead of 'custom'