Class ApiDeprecationWarning (2.10.0)

The API has been deprecated.