Adding redirection support.