Message sending callback functions working properly, see example.py in plugins.