Clean up the dead end code around listing hosts.