Cleanup after model deletion.