Introduce onDelete for models