Adjustment for upstream changes in JNITasks.