private void clearActions(List<DataAction> actions) {
		for (DockingAction action : actions) {
			tool.removeAction(action);
			action.dispose();
		}
		actions.clear();
	}
Get rid of the dynamically created list of data types
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/DataPlugin.java