Remove extraneous document formats.