Seems the afterDelete callback was lost. I've taken a stab at adding it back

Reinstate afterDelete callback