Update tidy functions. Add missing initialization to channel module.