Adapt to an API change.