Refactored redirects.