Removal of unnecessary devices, packages, and symbols