Made isSymbol to isOperator and added extendability.