Add arbitrary queries