Deduplication framework