Across the tops of these small former workshops , Vasari provided a covered corridor for Duke Cosimo to keep out of the rain when croseng from his Pitti Palace to the Uffizi .
It was often necessary for the duke to visit the Uffizi .