Added method to set channel modes.