We added a profiler cleanup checking function core.assert_no_module_factory