remove unused classes.