New mergekey facilities. Bug #2343 and bug #2800).