Added backwards-Python compatibility for OrderedDict