@SuppressWarnings({"rawtypes", "unchecked"})
		public void remove(EventHandler<T> handler) {
			if (secondary == handler)
				secondary = null;
			else if (secondary instanceof SplittingHandler nextWrapper)
				nextWrapper.remove(handler);
		}
@param handler
		Handler to remove from the wrapper chain.
recaf-ui/src/main/java/software/coley/recaf/util/NodeEvents.java