Added methods to set stores to commit and remove stores