I would like to register callbacks. Some of them can take no argument and some can take one argument (error case for example). I would like to be able to use the typeguard syste