Changed PrimitiveType enum to enum class