Remove unused physic classes.