GCC 4.4 compatibility: no lambda functions.
GCC 4.4 compatibility: no std::unordered_map::reserve().