Added helper methods to SegmentMaker.