Make visit segmentation work.