router: added Swap method.