Add variable modifiers for templates