1. A computer-implemented method comprising: determining that a first command object being executed is linked to a second command object; determining whether the first command object and the second command object have a same delete state; and when the first command object and the second command object do not have the same delete state, deleting one of the first command object and the second command object having an undeleted state.