Move text output out of core library.