The `TreeNode`, `Layer` and `LayerGroup` constructors and destructors had some inconsistencies. Now the code is a bit more clean and shared.
The `TreeNode`, `Layer` and `LayerGroup` constructors and destructors had some inconsistencies. Now the code is a bit more clean and shared.