Moving the communication stuff into the module.