Module with combined input and output functions.