Add read and write methods to btree object.