Add missing imports, missing file var declaration.
Remove apparently unused code.

Nothing ever reads _originalPlaceholderString so there shouldn't be any reason to update this undefined variable.
Merge commit '1bc34bad333a2771a2bb9180abe6375b4e1b81e4'