remove trailing comma from class parameters