code: func (kinds *Kinds) Map() map[string]*Kind {
  	m := make(map[string]*Kind, len(kinds.GetKind()))
  	for _, k := range kinds.GetKind() {
  		m[k.Name] = k
  	}
  	return m
  }
docs: // Map returns a map of name to VM kind.
  // For each name, only the last kind is included in the map.
  // Use Validate to ensure names are unique.