Put grammar dup back in, cast in stringDup to make appender work