Fix Callback example
Fix warnings and use variadic function
registry: bind stub