Implemented the minimal version of Muffin.Events.