Remove trailing commas from some params that cause errors

The trailing commas cause a syntax error.
Merge pull request #225 from bcrochet/params-commas

Remove trailing commas from some params that cause errors