Commit removed docs before persisting