Why not using enum class?