Class ApiDeprecationWarning (2.23.0)

The API has been deprecated.