Fetch names of classes, not just predicates.