Add an optional delegate to URLRouter.match