Patch for libraries.