possibility to have several stub trees in a file
marked collections deprecated to discourage direct instantiation
more correct method
notnull
optimisation: reuse smart pointer of host element for all injected fragments