Fix segment.io integration.