String() method for all types.