Add QueryStrategy.