add class C to all templates