Convert for into a map.