Use FunctionTypeInfo in TreesGenerator