Can you be more precise as to what did not work when you tried `Util.replaceMacro()`?  Is this something we should log a bug for?  Or a missing feature we should [eventually] add to `replaceMacro()`?