expose getter and setter for DataSegment