* Enhance the cps lib to capture errors in multiple triggering of callbacks.