proc callFunc*(self: FuncRef; variantArgs: varargs[Variant]): Variant {.gcsafe, locks: 0.}
proc setInstance*(self: FuncRef; instance: Object) {.gcsafe, locks: 0.}
proc setFunction*(self: FuncRef; name: string) {.gcsafe, locks: 0.}