Renamed constants in sopclass.py