Move Chan data type to separate module
Comment