Modifying channel function.