You don't need a separate `extend-type`. You can just add it to the `extend-protocol` defined above

```clj
(extend-protocol IByteArray
   (Class/forName "[B")
   (to-byte-array [ba] ba))
```