Improve callback signature
Update docs/examples regarding the new callback signature
Merge pull request #21 from mgeier/callback-signature

Improve callback signature