Maybe use something like [enum](https://pypi.python.org/pypi/enum/0.4.4) here? Although i don't think we should add more dependencies at this point. Just an idea to see if we can get this more consistent, not a must do.