Use UnifiedDataStore::addEventList() that provides more abstract interface.