How do I set what an object returns when just the object name is used? For instance, a string will return a value when just the name is used, without using any particular function. Is this done by overloading?