Replace GraphUtilities.ASTListToCode with .ToString() method