Add an addValidator method.