adding support for Router.route
Added suppport for Router.route