Why not use enum class?