code: func newConfig(old *Config, vars Vars) *Config {
  	v := mergeVars(old.Vars, vars)
  
  	return &Config{
  		AppID: old.AppID,
  		Vars:  v,
  	}
  }
docs: // newConfig initializes a new config based on the old config, with the new
  // variables provided.