Simplified AlgebraVisitor.