Use more variables in template.