doc fixes and reduce is now fold.