convert unnamed enum into global enum class Transport