Changed documentation to be more detailed.