FunctionWrappers: wrap global variable
FunctionWrappers: small optimization of wrap.cc