public void RemoveAllProperties() { foreach (var g in groups) { g.RemoveAllProperties(); Prune(g); } }