Update plugin API
Update tests
Release 1.7.0.