Make RensaDetector::Mode enum class.