Remove unused classes and libraries