Update to reflect API change