Fixes saving & reloading models that assign with enum class