Minor improvements to the muxchain api, allowing method mux to embed in muxchain