Returns BTree cursor and whatnot.