Is this because `primitiveType` was created on a worker and the implicit conversion no longer works?  If so, as we use workers more and more, it's starting to feel like we should always use `value` when working with enums.