Categories for trees and shrubs