Fix wrong API usage.
Update changelog.
Bump version.