Class ApiDeprecationWarning (1.40.0)

The API has been deprecated.