Allow user callback

Hi Julien! 

I added a hinclude attribute for a custom user callback.

Cheers,
Thomas.