Use package local access modifiers for Segment.