Backport of recent additions to the 'collections.abc' module
