Implementing various 'toString' methods and derivatives.