Allow store id to be passed.