Fixed the documentation to coincide with the code.