Updated the documentation to match current functionality.