Use based types more appopriately
Update nbtree README, buffer pins