Adding in afterDelete as it had been removed 

Thanks to @gterrill for adding it back in!