MJ: With the use of namespace ensembles to create newer Tcl core commands (e.g. chan) it's very straightforward to extend core commands with your own functionality. One way is to change the Tcl core as described in chan mode.