Added archives and correct pointer serialization