remove more template blacklisting/template exclusion handling code