Add toString methods on domain classes