remove deprecated calls in Route