Minor syntax fixes

Unnecessary comma’s removed