Add ContentDef.[Global,Local]Channel.cast(Channel,Class).
Use new shared ContentDef.LocalChannel.cast(Channel,Class) method.