Support for attributes in channel elements. This is a possible fix for #18.