Cleanup of output.