Allow setting of validators