If you look at uses of NautilusRefactoring you will see that they pass self or kind of context as model. So here we should also pass something like EpRefactoringContext which will provide some stub methods.
Martin, I am not sure how to test such change. Maybe you can give me advice or just fix it by yourself if it is not difficult.
Also I am not sure that this operation is really works. Does it? If not then maybe it is easy to just remove it and implement it differently in future.