Remove trailing commas.