[TASK] Avoid thousands of removeDotsFromTs in TemplatePaths