greenspan-recommended additions to OrderedDict api