Revert "Don't output to stdout from lib non-interactive methods"

This reverts commit 0b1084a4538bc46684c8620410988d3b1093e7ab.