Add support to new callback class
[python-purple] / welcome