Remove final comma in class parameters