uniqueLockPair: simplify the structure.