@Override
    public void dispose() {
		super.dispose();
		if (blockModelService != null) {
			blockModelService.removeListener(this);
			blockModelService = null;
		}
	}
Applies the "module" algorithm to a Folder or Fragment. This algorithm first
applies the Multiple Entry Point Subroutine model, which generates fragments;
then the Partitioned Code Subroutine model is applied to the fragments.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/algorithmtree/ModuleAlgorithmPlugin.java