Text code cleanup.