Simpler REPL. Use OrderedDict.