Added directive template.