Remove some useless classes.