Tree editor support.
Fully working basic implementation.