Update API for recent changes.