solstice: Add destroy object hook.