Changed the containers to unordered_maps.