Exposes Query in index.js.