Query integration.