Updated the RedirectUrl helper to be more easire to extend.