Refactoring for readability of string formatting.