Update docstrings and description of ValueError