Add query_raw method to resolver.