Removing un needed templates