code: func NewRegistry() *Registry {
  	return &Registry{
  		typeRegistry: make(map[string]*inprocContainer),
  		instRegistry: make(map[string]*inprocContainer),
  	}
  }
docs: // NewRegistry creates an initialized registry, ready to register system chaincodes.
  // The returned *Registry is _not_ ready to use as is.  You must set the ChaincodeSupport
  // as soon as one is available, before any chaincode invocations occur.  This is because
  // the chaincode support used to be a latent dependency, snuck in on the context, but now
  // it is being made an explicit part of the startup.