Change function call according to current API.
2 files changed