Trees with compound leaves and thorns