[lua-template-wrapper] Adding function list wrap support