Fix document pointer documentation

Improve clarity and remove wrong documentation about using `is_valid` to
check if a document still exists.