Don't create strings unnecessarily.

This has only a minor impact on performance.