Discard Document API