Make knowHosts and defaultHost private