Added filter for template.