Add cursor mode to Paginator and DB.