Adding method to clear data from a object store