Added 'input' method to Router.