Cleanup embedded docs