Update for Chrome API changes.