QObject instrumentation for leak detection.