code: func (t *TemplateResource) setVars() error {
  	var err error
  	log.Debug("Retrieving keys from store")
  	log.Debug("Key prefix set to " + t.Prefix)
  
  	result, err := t.storeClient.GetValues(util.AppendPrefix(t.Prefix, t.Keys))
  	if err != nil {
  		return err
  	}
  	log.Debug("Got the following map from store: %v", result)
  
  	t.store.Purge()
  
  	for k, v := range result {
  		t.store.Set(path.Join("/", strings.TrimPrefix(k, t.Prefix)), v)
  	}
  	return nil
  }
docs: // setVars sets the Vars for template resource.