Adds flushing and opening of multiple stores.