Sync GWT emulation to changes in core.