Implement loading of hosts.