Removing the bytes field from the sample element