- Added __toString() method into Output.