I would prefer the internal mode, but unfortunately setInternal is not available. There is only "_setInternal", but this is a protected function.
But BTW: Validation should not be an error as my data type is correct (I pass a string to $dw->set and my option is also set to accept strings), but as it seems $dw->set does not work.