Remove unused imports in listener