Adds soft delete functionality