Fix examples with new API syntax
Invert event callback signature to create Manager methods to handle events