[minor] Added a redirect helper.