- Now the conversion between the different enum classes and integers / strings is done by static_cast instead of arrays / maps.