Updates for new 'template' helper usage (instead of ejs.