Done very mechanically. This changes that one cannot just pass null config to C API for config.
PassManager::enableStatistics