Add Extract method refactoring