Rename function to _replaceArrow()