diff --git a/lib/opcodes.py b/lib/opcodes.py
index 7d9f4b384f56381e1645b671518f3580a00f5e05..cc2ac07235a680b6a5688021dc4c9e2355d07bfe 100644
--- a/lib/opcodes.py
+++ b/lib/opcodes.py
@@ -750,6 +750,7 @@ class OpQuery(OpCode):
   @ivar filter: Query filter
 
   """
+  OP_DSC_FIELD = "what"
   OP_PARAMS = [
     _PQueryWhat,
     ("fields", ht.NoDefault, ht.TListOf(ht.TNonEmptyString),
@@ -766,6 +767,7 @@ class OpQueryFields(OpCode):
   @ivar fields: List of fields to retrieve
 
   """
+  OP_DSC_FIELD = "what"
   OP_PARAMS = [
     _PQueryWhat,
     ("fields", None, ht.TOr(ht.TNone, ht.TListOf(ht.TNonEmptyString)),