sniffing template globals