Changed documentation to reflect code changes