Added btree cursor support