removed unnecessary closure from ChannelRegistry