Extract validator out of registry.