added support for channels() in PatternGenerator