Adding documentation and comment changes for retries