Changes related to ByteChunk refactoring.