Remove unnecessary method Utils.replace