Remove trailing commas. Fix #372