made all FunctionTemplate constructors public
SGF-149 implement chunking in PojoFunctionWrapper