Change setDestructCallback to addDestructCallback