Added promiseAddVisits.