Create directive.