Turn routing into an extension