Updating to API changes.