Add path generation to router.
Use the new router.