backporting libraries for key changes