Adapt for another API change.

--HG--
branch : HEAD
1 file changed