Don't pass in both a session and a btree, the standard pattern is to get
the btree handle from the session.