Create a proper directive directive.