Add redirect methods to the `Request` class.