Added some printing functionality for the parser.