Working (mostly) parser.