Use a single method for pretty-print formatting.
Merge pull request #4 from svenmueller/master

Use a single method for pretty-print formatting.