[[ ExternalsApiV5 ]] Work on Java stub generation and API access.