Fix segment.io integration part 2.