Fix btree fold prototypes, add fold capability to skiplists.