Add shapes' JNI classes.