USe 'enum class' instead of a class.