PatchLibrary (wip)