Use insert instead of emplace with unordered_map and multimap for compat.