Remove unused class names.