Added dependent to macros

Allows dependent destroy actions to work properly.