Force signature

Hi,

- object lifetime ensurance
- python3 compatible
- run doctests if called as main module
- execute the decorated function before handlers

Pick any of these you like.