static support for functionwrapper