Added util func's to DocumentCleaner