Improve clearing.
Hierarchical data model.