Add updated SegmentTemplate number code.