Get rid of DuplicateResolution enum and use DuplicateResolver singletons instead.