make slice properties public to make JNI interface work