Gitlab has been updated. More info here.
Create properties in `cost_function.py` rather than in `segments.py`. We do not use these properties in `segments.py`.