delete() now removes all child nodes too