Move the communication logic to base/.