Removed map::emplace to support older g++ compilers