Adds dependent destroy where need be