Correctly load events and tasks