Parametrize the Response class in utils.redirect.