[PATCH 7/9] Remove members from their containers before destroying them.