Fixed deserialization bug.