Update redirect helper to use static functions