Add DirectiveType.