Update the class with String format for string generation and method doc comments