Update to new API.
Release 1.7.1.