Replace method code with method.previous