Fix documentation to match potential code