models.py: Slice, Segment and Block