method attr name =
    string_of_sv (call_method sv "attr" [sv_of_string name])