I am not sure what this class is for. Wouldn't it be easier to use a [`collections.defaultdict(list)`](http://docs.python.org/dev/library/collections.html#collections.defaultdict]?