Modify empty documents