exceptModule = function (module) {
			const newModules = modules.filter(function (mod) {
				return mod.identifier !== module.identifier;
			});

			setSelectionMethodsForModules(newModules);
			return newModules;
		}
Removes a module instance from the collection.
@param {object} module The module instance to remove from the collection.
@returns {Module[]} Filtered collection of modules.