Resolved an issue with the Enum class.