4.5: added ->delete_all_events() method.