Removed use of c++11 std::map::at.