Delete function: "hasOnlyOneChild" is not using anymore