Remove trailing comma from key bindings.