Going along with the split of muxing code to mux.c.