Removed "permarremoved" flag since it was useless, added specialization
serialization