Use inline template for directives