Derive some typeclasses for ByteRange