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