internal bool ShouldSerialize() { return this.ShouldSerializeIsEnabled() || this.ShouldSerializeMaxHistorySize(); }