Remove unused imports in server handler