Can we use `enum class` here?