Removing object now also deletes children elements.