Eliminated duplication in string formatting.