Implement iterator support for channels
Fix iterator support