Closes #628: PyFunction constructor fails when arguments are ommited from IO Helper function