Fixing callbacks and adding multicast support.