Deprecate argument due for deprecation

* Warning was raised since version 2.5