Do not pass the cg to transform_nodes().