Treat unknown byte objects as ByteArray instances.