Initial work on parser.