moving some stuff to use Template.templateName.actions