Output cleanup.