Do not use OrderedDict.

Support python 2.6.