pipe module output when module is defined. closes #57.