Add secondly stubs for inputs and outputs, plus a secondly debug printout.