private void organizeIntoHierarchy(Hierarchy hierarchy) { hierarchy.Suites[path] = this; suites.Each(x => x.organizeIntoHierarchy(hierarchy)); Specifications.Each(x => hierarchy.Specifications[x.id] = x); }