attempted to support set on chans and funcs.