Adding enableDiscovery optional constructor parameter to derived validators.