I suggest a different fix, declare abstract get tag and get text in the Operand

get tag;
get text;

WDYT?