Implementing $validator support