remove unused classes from use list