really make Text:Type an enum class