Now using ByteArray for retrieving entries.