Add updateable state and JNI accessor.