Use const refs rather than copying.

Better string passing code.