Make handlers more flexible.
Implement tree modifications