Add toString method to client objects