Polish the output.