Improvements to continuousDiagnostic.