Refactoring: Extract RqlCursor interface.