Added a couple of convenience methods for printing strings.