Changes to routers to allow arrays of paths