getCancelRoute() has been renamed to getCancelUrl().