Fix generation of backend ASTs.