Make structures in ClrAdapter Serializable.