ENH: Implement bi-directional communication.