The X-Pack opening and the recent other refactorings left a lot of unused imports in the codebase. This commit removes them all.