Replaced Consumer with Visitor for cursors