remove DocumentReader and DocumentWriter