Quick fix for restoring thread-safety to Argument.EnsureEnumIsValid