Rewrite OFDictionary code to make it more readable.