Transform/private to static

New miniphase. Builds on #203. 

I wanted to merge with previous but need some functionality in TreeTransforms to do it.

Review by @darkdimius
I don't get what's happening here. Could you please include documentation for this method?