Complete refactoring of process loading.