setDafaults now works with events as well