Updated Java classes to match latest op-core api