Documented Java side.