Output class names instead of group names