Updated documentation to reflect the actual behavior of the code.