Fixed temporary broken __setstate__ issue -- i think nathan o. has a better fix for this