Java->Python communication changes.