Added the `Router::registerToken()` method.