Added `transformAST` method.