code: func WithRegistry(c context.Context, r Registry) context.Context {
  	if r == nil {
  		panic(errors.New("you may not use WithRegistry on a nil Registry"))
  	}
  	return context.WithValue(c, &regKey, r)
  }
docs: // WithRegistry adds the registry to the Context.