Define in and outputs for module