allow access to the router outside the plugin