Added set method for isDeleted