Moved the string generator to a SystemUtils function.