Rename function and pass replacements by reference.
Pass replacements by reference and rename function.
Merge remote-tracking branch 'origin/4.0'