Refactors Traceroute.