Make map_in_place return unit to make it clear it hacky nature.