Changed LightType enum to enum class