Changed documentation to fit interface change