Parser mostly done (modulo some rough edges).