Add toString method.