Use std::unordered_map where possible.