Roll way back
Remove write_doc all together