Removing deprecated function call "redirect_to".