public virtual bool ShouldSerializeComponents() { return Components != null && Components.Count > 0; }