Added documents for error detection.