Replace rendering using PrettyText with plain old functions.