Replace with a call to ServiceDiscovery.