Update utility code to handle C implementations of frozendict.