Reimplemented NSObject serialization