Segment support & legacy migration

Can we get rid of this if we don't use it?