Clean up generated code for symbols transformer