New action hooks for template files