Don't abuse Map.Entry for storing pairs.