cleanup documents model