Implemented HostsProvider.