Add delete method for segments with specs