Support for simple math expressions added to templating syntax.