Modified the ToString generator to also emit ToString()'s for array and pointer types.