Added simple saving of events