Add the TokenOperator class implementation