Add versioning support for the router.