Update due to API changes.