(Part 1/2) import missing functions from Backport compat