Adding LocalPrefixDiscovery helper class