Extract method in XitolitePatch