The isClosed and setClosed is deprecated. So these functions use the isEdtiable and isCreatable variable instead of the old isClosed variable.