More fixes for the public API (pass unicode value when needed).