Adds x-query plugin