Moved internal dictionary to constructor so that it becomes an instance variable instead of a class variable.  Dumb mistake.