improvements to the Bytes class