def METHOD_NAME(self):
    if self.av:
        if self.av.getParent() == self.cellOrigin:
            self.av.detachNode()
        del self.av
        self.av = None
    # Remove the gridNodes
    if self.ownCellOrigin is not None:
        self.ownCellOrigin.removeNode()
        self.ownCellOrigin = None
    if self.grid is not None:
        self.releaseCellOrigin(self.grid, self.zoneId)
        self.grid = None
        self.zoneId = None