Add libchan support