Factored out SegmentSetting.
Removed SegmentSetting.