Add find_and_modify to the Document class