This and the one below were changed to private APIs. Also cogroupResult2ToJava, but that's not here for some reason.