Got rid of unnecessary code in parserimpl, added newlines to prettyprint