Generic Profile refactoring.
RunAllModules fix.