Add string methods for objects and counters