code: def register_viewer(self, vclass):
          
          self.viewer_db[vclass.vname] = Bunch.Bunch(vname=vclass.vname,
                                                     vclass=vclass,
                                                     vtypes=vclass.vtypes)
docs: Register a channel viewer with the reference viewer.
          `vclass` is the class of the viewer.