Removed router's cancel function (unused).