Made enums from objects.py inline