Addition of a preDelete event