Added compatability with PLY's yacc parser.