[FEATURE] Do not require TS templates to be root templates