Convert NumOp to class Operator