Optimized imports in collectors