add support for template actions