trying to implement ResourceLocator.queryInstances()
Merge remote-tracking branch 'origin/version3' into version3