code: func (r MediaTypeRoot) IterateSets(iterator dslengine.SetIterator) {
  	canonicalIDs := make([]string, len(r))
  	i := 0
  	for _, mt := range r {
  		canonicalID := CanonicalIdentifier(mt.Identifier)
  		Design.MediaTypes[canonicalID] = mt
  		canonicalIDs[i] = canonicalID
  		i++
  	}
  	sort.Strings(canonicalIDs)
  	set := make([]dslengine.Definition, len(canonicalIDs))
  	for i, cid := range canonicalIDs {
  		set[i] = Design.MediaTypes[cid]
  	}
  	iterator(set)
  }
docs: // IterateSets iterates over the one generated media type definition set.