Added convenience method next and previous method to Segment