Improve documentation of restoreOwnIdentity