Removed own implementation of a channel and added a channel object.