Added clear.
Modified destroy to use clear.