Removes unnecessary comma.