See the third paragraph of http://docs.python.org/2/library/pickle.html#subclassing-unpicklers