module PatchworkInternal