Optimized imports, Updated ConnectExample