[THRIFT] Defining rpc commands.