shutils/common.sh: separate global template vars and private vars.