Added support for handling RedirectKey redirects.