public void RemoveProperty(string key) { this.RemoveProperty(key); if (!StacPropertiesContainer.Properties.Any(p => ItemFields.ContainsKey(p.Key))) { RemoveStacExtension(); } }