Updated documentation to match the new functionality.