I think I agree with Michael on this. I suggested generalizing the types used in zoom-cache in the first place because of performance concerns with the original types. In terms of an interface, it may be cleaner to use just ByteStrings.