Add validator extension