Removes the trailing comma