Removed debug and partially completed the parser.