Move defroute to a separate package.