Make SPSegment extend Segment.