Fix __dict__ was not found

__dict__ was replaces by __slots__