Changes to classes Event, SubEvent and Task.