Support custom directives