Added missing JNI initializations.