Bugfix for template types

... can use the same instance even if the parsing and execution of the program is not in the same tree path.