Add toString function.