Implement destruction of nested resources.