Modifications to allow associated objects to be released when
their retaining objects are deleted.