Fix bug in callback handling.

Needed to register Felix function type as a tuple
because generated wrapper constructs one.