Makes sure text output is returned to documentation