Fix broken backward compatibility with Document.empty_copy()
#380
+95
−64
Document.empty_copy()
#380