Added a helper method around a hack for setting visit_id.