Added deduplication support.