No longer deletes entire page to write to document. Yay.