Updated documentation to reflect the latest code changes