ToString() method partially implemented for some classes.