Backport the MappingProxyType