Add command tagging for more efficient command stream querying