Calling router.map now appends the routes instead of replacing them

I would have added a test but there did not seem to be any route
generation tests.