Removed unused classes and declarations.