Remove unused imports in event