Implemented tree with checkboxes.