Remove unused classes and control.