Added the math stuff to parser.