Use DenseMap::lookup. No functionality change.