Use insert instead of emplace.