Added method to remove all documents for type in index.