code: func Types() []string {
  	typesMu.RLock()
  	defer typesMu.RUnlock()
  	var list []string
  	for name := range types {
  		list = append(list, name)
  	}
  	sort.Strings(list)
  	return list
  }
docs: // Types returns a sorted list of the names of the registered types.