Remove System.out.prinln() calls. Fixes #1218.

Fixes github issue #1218.