Support for non-standard callback functions used in tox.im project