Add support for using DuplicateDetectionPipeline