method set_from v =
    call_method_void sv "from" [sv_of_string v]