Doc swapping.