turn unnamed enum into enum class CapellaType