_internalSetRoutes