Fixed a documentation error and a string formatting error