You seem to be only using the db contained by the store. If that is the case, the whole store should really not be passed in.