Removed unused imports, vars, and classes