Fix warning for Set<String>
Better warning for wrong methods