Precompiling AST transformations, plus a cleanup