Added CachedByteBuffer support.