Change to duplex channel to implement event handler.