Why do you explicitly need to pass in <code>wikibase.store.EntityStore</code>? I do not see an instance being created.