Remove unnecessary recreation of map.