Add @inherits to all templates