simplify enum class.