Memory tracing and sync module fixes
Fix import order