Adds method to process redirect