Rewrite BKArray and BKByteBuffer to use new object