Use IDirectiveProvider.