Remove unused class from template