SegmentT -> SegmentHandleT (templates and typedefs)