Inspect module before printing, closes #1309