Changes in TreeTransformer logic: TreeTransform is now responsible of
calling transformFollowing on nodes created by it.
Splitting methods to smaller ones.