Remove use of bytes package.