Add getNamedGlobal and getFunctionList bindings.