private static void ExpungeType <T>(this OilexerGrammarFile file) where T : IOilexerGrammarEntry { file.ExpungeSet(file.GatherType <T>()); }