Text output functions added.