Removes trailing comma.