Updated "afterDestroy" signature