Deduplication mixin and spec.