More utils for handling cells/segments/segmentgroups