Added table clearing.