add NewFunctionTemplate data support