Decorators don't easily preserve the call signature. If you want this to work we need to make use of the decorator.py package. Maybe you could open a new issue for this so we can discuss it? It might not be important since it's deprecated though - in fact, deprecated functions/methods should probably not show up in the API.