Make more replacements work in the global space