Add redirect method.