Stub for a Segment class.