Output cleaning.