Remove comments and unused code.
Add comments.
Wrap all changes to the tree behind named interfaces for changing it.