     
     // MARK: Class methods
     
-    public class func generateTextOfLength(length: Int, replaceLastThreeLettersWithDots: Bool) -> String {
+    /**
+    Generates text with required length.
+    
+    - Parameters:
+        - length: Required length of generated text.
+    
+        - replaceLastThreeSymbolsWithDots: Defines whether last three symbols in generated text should be replaced with dots.
+    
+    - returns: Text with required length.
+    */
+    public class func generateTextOfLength(length: Int, replaceLastThreeSymbolsWithDots: Bool) -> String {
         // Create result text variable
         
         var resultText = ""

        return resultText
    }
    
    public class func generateText(replaceLastThreeLettersWithDots replaceLastThreeLettersWithDots: Bool) -> String {
        let lengthOfText = textUnit.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)
        let resultText = generateTextOfLength(lengthOfText, replaceLastThreeLettersWithDots: replaceLastThreeLettersWithDots)
        return resultText
    }
    

        
        // Replace last three symbols with dots if needed
        
        if replaceLastThreeSymbolsWithDots {
            // Obtain string with maximum possible number of dots between zero and three depending on length of result string
            
            var dots = ""
