Adding clear() method to BaseStore