Work in progress changes for global dedupe.