Added functions to handle channel attributes