Several parser-, lexer- and resolverrelated bugs.