Removed excess code in the method replaceArguments().