Remove generic typing from Endpoint and ChannelListener.