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