Convert list_hosts to use request inheritance