Macro for destroying objects