Can now insert and delete segments.