Updated for new dedupe API