Replaced emplace by insert.