Added the event sendback functionality. TODO: Add some nice example code.